class TestClass{
	public void method(){
			System.out.println("TestClass-method");
	}
}
 
public class CLTest {
	public static void main(String args[]) {
		try{
			   Class c = Class.forName("TestClass");
			   TestClass object = (TestClass)c.newInstance();
			   object.method();
			   System.out.println(TestClass.class.getClassLoader());
		}catch(Exception e){
			   e.printStackTrace();
		}
	}
}